﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace DBManager.Banner
{
    public class BannerDAL
    {
        public static DataTable GetListBannerByCatID(string catID)
        {
            string sql = "select * from Banners where status=1 and catID="+comm.to_sqlnumber(catID)+" order by id desc";
            return DBUtil.SelectTable(sql);
        }
    }
}
